package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Customer;
import cn.wolfcode.rbac.query.CustomerQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICustomerService {
    void saveOrUpdate(Customer e);
    void delete(Long id);
    PageInfo query(CustomerQueryObject qo);
    Customer selectOne(Long id);
    List<Customer> listAll();
    List<Customer> selectByStatus(Long status);

    void updateStatus(Customer u);
//    void selectByCustomernameAndPassword(String username, String password);
}
